﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Resto.CostControl.Core.Models.SysSettings
{
    /// <summary>
    /// 用户实体类
    /// </summary>
    [Table("V_RoleUserRelation")]
    public class V_RoleUserRelation : BaseModel
    {
        public string Id { get; set; }

        [Display(Name = "用户帐号")]
        public string UserCode { get; set; }

        [Display(Name = "用户名称")]
        public string UserName { get; set; }

        [Display(Name = "用户密码")]
        public string Password { get; set; }

        [Display(Name = "部门ID")]
        public string OrgId { get; set; }

        [Display(Name = "部门编号")]
        public string OrgCode { get; set; }

        [Display(Name = "部门名称")]
        public string OrgName { get; set; }

        /// <summary>
        /// 状态分为：正常和停用
        /// </summary>
        [Display(Name = "账号状态")]
        public string AccountState { get; set; }

        [Display(Name = "排序号")]
        public int SeqNo { get; set; }

        public string RoleCode { get; set; }
    }
}
